package cn.lh.entity.vo;


import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel(value = "用户登录返回信息", description = "用户登录返回信息")
@Data
public class LoginInfoVo {

	@ApiModelProperty(value = "用户ID")
	private int userId;

	@ApiModelProperty(value = "用户名")
	private String userName;

	@ApiModelProperty(value = "登录时间")
	@JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
	private Date loginTime;

	@ApiModelProperty(value = "登录凭证")
	private String token;
}
